Spread Windows Forms 15.0
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet Namespace / SparseArray<T> Class / SparseArray<T> Constructor
The number of elements that the new SparseArray can store.


In This Topic
    SparseArray<T> Constructor
    In This Topic
    Initializes a new instance of the SparseArray class that is empty and has the specified initial length.
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal length As Integer _
    )
    'Usage
     
    
    Dim length As Integer
     
    Dim instance As New SparseArray(Of T)(length)
    public SparseArray<T>( 
       int length
    )

    Parameters

    length
    The number of elements that the new SparseArray can store.
    See Also